package processor;

import javax.swing.JFrame;
import javax.swing.JOptionPane;
import ui.LoginWin;

public class UpdateLoginWin {
	private LoginWin window;
	
	public UpdateLoginWin(JFrame window){
		this.window = (LoginWin)window;
	}
	
	public void error(String error){
		JOptionPane.showMessageDialog(window, error, "Error", JOptionPane.ERROR_MESSAGE);
		System.out.println("error!!!");
//		window.dispose();
//		System.exit(0);
	}
	
	public void quit() {
		window.dispose();
	}

}
